* {
  margin: 0;
  padding: 0;
  /* 禁止文字选中 */
  user-select: none;
  /* 盒子模型 */
  box-sizing: border-box;
}
body {
  /* 弹性布局 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 占可视区域的高度 */
  height: 100vh;

  overflow: hidden;
}

button {
  outline: none;
  width: 100px;
  height: 40px;
  color: #409eff;
  border-radius: 5px;
  border: 1px solid #b3d8ff;
  background-color: #ecf5ff;
  /* 使伪元素延迟执行 */
  /* 过渡 */
  transition: all 0.3s;
  /* 移入变小手 */
  cursor: pointer;
}
button:hover {
  color: #fff;
  border-color: #409eff;
  background-color: #409eff;
}
/* 弹出框样式 start */
.model-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* 带阴影背景色 */
  background-color: rgba(0, 0, 0, 0.3);
}
.model-box .content {
  position: absolute;
  /* 不同单位动态计算 */
  left: calc(50% - 210px);
  top: calc(50% - 175px);
  width: 420px;
  height: 350px;
  border-radius: 5px;
  padding: 0 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  background-color: #fff;
}
.model-box .content .title {
  display: flex;
  /* 让子元素水平与两端对齐 */
  justify-content: space-between;
  height: 60px;
  line-height: 60px;
  cursor: move;
}
.model-box .content .title span {
  font-size: 18px;
  color: #333;
}
.model-box .content .title i {
  font-style: normal;
  font-size: 25px;
  color: #909399;
  cursor: pointer;
}
.model-box .content .title i:hover {
  color: red;
}
.model-box .content form .form-input {
  margin: 20px 0;
}
.model-box .content form .form-input label {
  font-size: 15px;
  color: #606266;
  cursor: pointer;
}
.model-box .content form .form-input input {
  outline: none;
  width: 100%;
  height: 42px;
  padding: 0 15px;
  font-size: 18px;
  margin-top: 8px;
  border: 1px solid rgb(155, 154, 154);
  border-radius: 8px;
}
.model-box .content form .form-input input:hover {
  border-color: #3d3d3d;
}
.model-box .content form .form-input input:focus {
  border-color: #409eff;
}
.model-box .content form .form-input button {
  float: right;
  margin-top: 10px;
}
